from elasticsearch import Elasticsearch
 
es = Elasticsearch(hosts=[{"host":'39.102.40.216', "port": 9200}])
result = es.indices.create(index='article', ignore=400)
print(result)